Heat flow and lattice vibrations in glasses