Capture of nitrogen dioxide and conversion to nitric acid in a porous metal–organic framework