Secondary circulations near sand banks and in coastal embayments