Thermal analysis using a micromechanical calorimeter