First-principles study of Mn-S codoped anatase TiO2