A rigid-body method for finding centers of rotation and angular displacements of planar joint motion