Method for Detecting Nonproportionality of Response for Gamma-Ray Scintillators