Inelastic scattering of deuterons from 60Ni and 114Cd