A new derivation of the shallow water equations in geographical coordinates and their application to the global barotropic ocean model (the DEBOT model)