Electrochemical and photophysical properties of a chemically modified electrode