Predicting heats of formation of energetic materials using quantum mechanical calculations