Tuning the Swing Effect by Chemical Functionalization of Zeolitic Imidazolate Frameworks.