Sol-gel films doped with nickel oxide nanoclusters for optical gas sensors