Evolution of Pt and Pd species in functionalized UiO-67 metal-organic frameworks