North Carolina lawmakers override governor’s veto on controversial energy bill