Closed form solution for direct and inverse kinematics of a US-RS-RPS 2-DOF parallel robot