A near infrared ratiometric platform based π-extended porphyrin metal-organic framework for O2 imaging and cancer therapy.