Enquiries about new and second-hand electric cars are setting records as motorists look for ways to avoid the rising price of petrol and diesel.