The effect of wave directional spread on coastal hazards at coastlines fronted by a coral reef