Free Energy Analysis for Adsorption-Induced Structural Transition of Colloidal Zeolitic Imidazolate Framework-8 Particles