Streamline Upwind Petrov-Galerkin–Based Shallow Water Model for Large-Scale Geophysical Flows in Cartesian and Spherical Coordinates