Magnetohydrodynamic flows in spherical shells