Experimental determination of absolute efficiency and energy resolution for NaI(Tl) and germanium gamma ray detectors at energies from 2.6 to 16.1 MeV