Metal–organic framework thin films as versatile chemical sensing materials