Effects of neutrons on semiconductor x-ray detectors including n-type Joint European Torus and p-type GAMMA 10 tomography detectors