A promising ternary sulfide bidirectional p-n heterojunction for unassisted tandem photoelectrochemical cells.