Wave-resolving shoreline boundary conditions for wave-averaged coastal models