Photovoltaic diodes and cells