Optical and Optoelectronic Property Analysis of Nanomaterials inside Transmission Electron Microscope.