Recent developments in the design of photoreactors for solar energy conversion from water splitting and CO 2 reduction