Optical properties and valence mixing in CeN