Electric vehicles are better for the climate than gas-powered cars, but many Americans are still reluctant to buy them. One reason: The larger upfront cost. New data published Thursday shows that…