Near-infrared uncaging or photosensitizing dictated by oxygen tension