Structural, compositional and electrical characterization of Si-rich SiOx layers suitable for application in light sensors