A ballistic bomb calorimeter