Physically and chemically synthesized TiO2 composite thin films for hydrogen production by photocatalytic water splitting