Photophysical properties of protoporphyrin IX and thionine covalently attached to macromolecules