Radiative electron capture and the photoelectric effect at high energies.