A Formulation of Kinematic Constraints Imposed by Kinematic Pairs Using Relative Pose in Vector Form