Recent developments in solar H2 generation from water splitting