Effect of microcracking on the energy-balance relationship for hardness testing of ceramics