Sales of electric cars in the UK are expected to be lower than previously thought this year due to weaker demand.