3D-printed ‘living material’ could clean up contaminated water