Thermally-induced defects in silicon containing oxygen and carbon