Interaction between implanted hydrogen or nitrogen atoms and oxygen-related defects in germanium