Nanostructured semiconductor gas sensors to overcome sensitivity limitations due to percolation effects