Phenomenological theory of the dynamics of polymer melts. II. Viscoelastic properties