Ternary Ag-In-S polycrystalline films deposited using chemical bath deposition for photoelectrochemical applications