γ-ray diffractometry for the study of ferroelastic crystals: Application to KH2PO4