Effect of the pyrolysis atmosphere on the mechanical properties of polymer-derived SiOC and SiCN