A Calorimeter for Energy Measurements of Optical Masers