Pyrolysis pathway of sol-gel derived organic/inorganic hybrid nanocomposites