Rapid and automatic zero-offset calibration of a 2-DOF parallel robot based on a new measuring mechanism