Optical absorption in alloys of Si, Ge, C, and Sn