Colloidal joints with designed motion range and tunable joint flexibility