Calibration of Ge(Li) detectors for level structure study in proton and neutron capture reactions