Phonon confinement and transport in ultrathin films