Fears that electric cars could actually increase carbon emissions are a baseless, a study suggests.