The new 3D-printed material can switch from flexible to stiff and back again