Transition states and energy barriers from density functional studies. Representative isomerization reactions