Measurement of ultrasonically produced strains in solids by a calorimetric technique