Effects of nitrogen fraction on the structure of amorphous silicon–carbon–nitrogen alloys