Selection of optimal mixing ratios to obtain suitable photoelectrodes from mixed semiconductors using band gap calculations