Tropical Storm Chantal strengthens as it nears landfall in South Carolina