Gradient dopant profiling and spectral utilization of monolithic thin-film silicon photoelectrochemical tandem devices for solar water splitting