A number of mandatory evacuations have been ordered in South Carolina, North Carolina and Virginia, affecting more than a million people.