Excitation of pygmy dipole resonance in neutron-rich nuclei via Coulomb and nuclear fields