Lattice dynamical study of an internal charge transfer molecular crystal: 4-nitropyridine N-oxide and its deuterated derivative