Mechanism of the reaction 24Mg(d, p)25Mg from 2 to 4 MeV