Understanding metal-organic frameworks for photocatalytic solar fuel production