Mitigation of Flood and Erosion Damage ot Residential Buildings in Coastal Areas