Response of AGATA segmented HPGe detectors to gamma-rays up to 15.1 MeV