Surface Stress and Lattice Dynamics in Oxide Ultrathin Films