Excitation of Jπ=2+ resonances in 24Mg by the 23Na(p, 12C)12C reaction