Electrical, optical and photoelectrochemical properties of BaSnO3−δ: Applications to hydrogen evolution