A three-dimensional metal–organic framework for selective sensing of nitroaromatic compounds