Dynamics of intertidal gravel dunes