Nonlinear stability bounds for inviscid, two-dimensional, parallel or circular flows with monotonic vorticity, and the analogous three-dimensional quasi-geostrophic flows