Effect of large neutron excess on the dipole response in the region of the giant dipole resonance