Applications of single molecule and nanoparticle imaging in chemical separation, photocatalysis, and drug delivery