Electric and hybrid cars create more carbon emissions during their production than standard vehicles - but are still greener overall, according to a new report by Ricardo.