Quantum phase transitions in mesoscopic Rashba rings