How is a substitution reaction different from an addition reaction?