An assessment of radiation damage in space-based germanium detectors due to solar proton events