Computer simulation of viscoelasticity in polymer melts