Compliance while resisting: a shear-thickening fluid controller for physical human-robot interaction