Structural Phase Transformations Induced by Guest Molecules in a Nickel-Based 2D Square Lattice Coordination Network