pH-controlled solubilization of photosensitizer tetraphenylporphyrin