Guest-induced reversible structural transitions and concomitant on/off luminescence switching of an Eu(III) metal–organic framework and its application in detecting picric acid