An approach to assess flooding and erosion risk for open beaches in a changing climate