A model for cross-shore sediment transport