Transparent electrodes and solar cells