Lectures on Solar and Planetary Dynamos: Convection and Magnetoconvection in a Rapidly Rotating Sphere