Boundary layer and sediment dynamics under sea waves