NIR and optical fiber sensor for gases detection produced by transformation oil degradation