Simulation of a surface plasmon resonance-based fiber-optic sensor for gas sensing in visible range using films of nanocomposites