Constraint Singularities of Parallel Mechanisms