Excitation and decay of projectile-like fragments formed in dissipative peripheral collisions at intermediate energies