The investigations on optical properties of TiN1-xCx ternary alloys