Cadmium−diffused CuInSe2 junction diode and photovoltaic detection