High-order compact finite difference schemes for the spherical shallow water equations