The cost of generating electricity from utility-scale solar and onshore wind farms has decreased by 7% and 3.5%, respectively, in the past year.