Recursive determination of conjugate profiles in planar motion with application to gear design