Damage Spreading in the Ising model and spin glasses