The elastic and inelastic scattering of 30.5 MeV protons by24Mg