Gasoline and electric cars each have different advantages but similar fuel efficiencies