Thermodynamic Study of Ligand Coordination on Lead Halide Perovskite Quantum Dots