On the analytic fitting of full energy peaks from Ge(Li) and Si(Li) photon detectors