Stability and dynamics of carbon and nitrogen dopants in anatase TiO 2 : A density functional theory study