Interference effects in elastic and inelastic heavy ion scattering