Luminescent switch sensors for the detection of biomolecules based on metal-organic frameworks.