Electronic structure, photocatalytic properties and phonon dispersions of X-doped (X = N, B and Pt) rutile TiO2 from density functional theory