Form drag in quasigeostrophic flow over sinusoidal topography