Important role of projectile excitation in O 16 + Ni 60 and O 16 + Al 27 scattering at intermediate energies