Optical techniques and microtools for subcellular delivery and sampling