Molecular recognition and chemoresistive materials