Scalable reactors for photoelectrochemical hydrogen production