Computation-assisted performance optimization for photoelectrochemical photoelectrodes