Correlating Structure and Function of Metal Nanoparticles for Catalysis