Correlation of photosensitive electrode properties with electronegativity