Adsorption of Au and Pd atoms on thin SiO2 films: The role of atomic structure