Light-Driven Reversible Shaping of 2D Polymeric Lattices