Study of T = 0 and T = 2 giant dipole resonances in 14N