Distorted wave effects and the impulse approximation in the inelastic scattering of 147 MeV protons from 12C