Study says using renewable energy might result in trillion-dollar savings