Transverse impedance and beam stability studies for the muon collider Rapid Cycling Synchrotrons