High‐order compact finite difference schemes for the vorticity–divergence representation of the spherical shallow water equations