Rapid and facile ratiometric detection of an anthrax biomarker by regulating energy transfer process in bio-metal-organic framework.