Optical gap in carbon nitride films