An introduction to chemical energetics