A new method of predicting the occurrence of contact loss between pairing elements in planar linkages with clearances