Dirac coupled-channels analysis of inelastic scattering of 800 MeV polarized protons from 16O, 24Mg and 26Mg