Water purification by photocatalysis on semiconductors