Porphyrin-Containing MOFs and COFs as Heterogeneous Photosensitizers for Singlet Oxygen-Based Antimicrobial Nanodevices.