Mexico's economy expands 3.1% in 2022