Electrodeposited tin selenide thin films for photovoltaic applications