Trends of the macroscopic behaviors of energetic compounds: insights from first-principles calculations.