Physics-informed neural networks for the shallow-water equations on the sphere