Solar proton damage in high-purity germanium detectors