Spline and polynomial models of the efficiency function for Ge gamma-ray detectors in a wide energy range