Bi-level optimization for the energy conversion efficiency improvement in a photocatalytic-hydrogen-production system