Measurements of the spin observables DNN', P, and Ay in inelastic proton scattering from 12C and 16O at 198 MeV