Optical investigation of electrical spin injection into semiconductors