Chair and boat transition states for the Cope rearrangement. A CASSCF study