UK government funded grants for the purchase of new hybrid and electric cars are to be cut.