Lattice dynamics of orthorhombic perovskite YMnO3