A luminescent nanoscale metal-organic framework for sensing of nitroaromatic explosives.