China is to launch a pilot programme in five cities to provide subsidies to buyers of electric and hybrid cars.