Optimum dimensional synthesis of planar mechanisms with geometric constraints