Spin in a Closed-Shell Organic Molecule on a Metal Substrate Generated by a Sigmatropic Reaction