Flexible metal–organic frameworks for the wavelength-based luminescence sensing of aqueous pH