Size-dependent lattice dynamics of barium titanate nanoparticles