Optical properties and band structure of Ge1−yCy and Ge-rich Si1−x−yGexCy alloys