Artificial receptor layers for detecting chemical and biological threats