Transition states localization by density functional method. Application to isomerization and symmetry-forbidden reactions