Photoelectrochemical and photocatalytic systems based on titanates for hydrogen peroxide formation