The center of shear and the center of twist