A three‐dimensional theory of coastal currents and upwelling over a continental shelf