Bactericidal and photocatalytic activities of TiO2 thin films prepared by sol–gel and reverse micelle methods