Automated electrochemical synthesis and photoelectrochemical characterization of Zn1-xCo(x)O thin films for solar hydrogen production.