Nondivergent Planetary Oscillations in Midlatitude Ocean Basins with Continental Shelves