Interfacial issues in the design and the making of solid state chemical sensors