A hybrid method for calculating absolute peak efficiency of germanium detectors