Spectral Distribution of the Photomagnetoelectric Effect in Semiconductors: Theory