Transition-state spectroscopy via negative ion photodetachment