Optical characterization of compound semiconductor alloys