Displacement fields of excited states in stable and neutron drip-line nuclei