Nanostructured materials for gas sensors