Fiscal cliff deal extends energy-efficiency tax credits