Vector analysing power of (d, p) reactions on 16O and 24Mg at 12 MeV