Dynamics of the Wave-Driven Circulation in the Lee of Nearshore Reefs