Optical properties of nitrogen-rich carbon films deposited by d.c. magnetron sputtering