Dissipation in random wave groups incident on a beach