The stability of stones on mild slopes under wave attack