GM to pull out of India market, sell South Africa plant