Semiconducting AgSbSe2 thin film and its application in a photovoltaic structure