Transition state structures and reaction profiles from constrained optimization procedure. Implementation in the framework of Density Functional Theory