Optical model and coupled-channel analysis of 60–90 mev deuteron scattering from24Mg and89Y