Heat dissipation and non-equilibrium phonon distributions in molecular devices