Photocell using covalently-bound dyes on semiconductor surfaces