Photophysical and photochemical characterization of organic dyes supported on solid matrices