Study of structural and electrical behavior of silicon-carbon nanocomposites via in situ transmission electron microscopy