Photoelectrochemical studies on tin chalcogenides and their application in electrochemical photovaltaic cells