Dipole excitations in fission fragments