Cosmic Radiation Backgrounds and the Formation of Galaxies