Programmable Phase Transitions in a Photonic Microgel System – Linking Soft Interactions to a Temporal pH Gradient