Mechanism of optical transmittance change by NOx in CoO/SiO2 nanocomposites films