Optimal synthesis of crank–rocker linkages for path generation using the orientation structural error of the fixed link