Molecular oxygen quenching of the singlet and triplet states of poryphyrins