Enhanced Photocatalytic and Antibacterial Ability of Cu-Doped Anatase TiO2 Thin Films: Theory and Experiment