Position and singularity analysis of a class of planar parallel manipulators with a reconfigurable end-effector