Elemental theory of a SAW gas sensor based on electrical conductivity changes in bi-layer nanostructures