Inelastic scattering of alpha particles and deuterons on 185Re and 187Re