Study of the performance of HPGe detectors operating in very high magnetic fields