Heat transfer to liquid and supercritical helium in superconducting rotors