Multifunctional 3D printing of heterogeneous hydrogel structures