South Carolina voters elect scandal-tainted Mark Sanford