Transition states localization by a densisty functional method. Applications to isomerization and symmetry-forbidden reactions