The onset of thermal convection in a rapidly rotating sphere