Measurements of Rd-Rp and RCa-Rc in deep inelastic muon scattering