First Principle Study of the Optical Properties of Transition Metal Nitrides XN (X=Ti, Zr, Hf)