First-principles calculation and experimental investigation of lattice dynamics in the rare-earth pyrochlores R2Ti2 O7 (R=Tb,Dy,Ho)