Mechanistic Insights into Plasmonic Catalysis by Dynamic Calculations: O2 and N2 on Au and Ag Nanoparticles