Theory of dopants and defects in Co-dopedTiO2anatase