Transport and photoluminescence of hydrogenated amorphous silicon–carbon alloys