HPGe detectors for hypernuclear γ-ray spectroscopy