Photoluminescence Mechanisms in Anatase and Rutile TiO2