All-optical nanoscopic spatial control of molecular reaction yields on nanoparticles