Optical properties of anatase and rutile TiO2 studied by GGA+U