Hurricane Matthew has made landfall in South Carolina, causing flooding in the city of Charleston.