Quantum optimal control of molecular isomerization in the presence of a competing dissociation channel.