In situ TEM probing properties of individual one-dimensional nanostructures