Homes were flooded and cars swept out to sea