S. Carolina nears transgender sports ban after Senate vote