Thermal oxidation and encapsulation of silicon–carbon nanolayers