Voltage enhancement in multijunction solar cells and the application to water splitting