Dynamic mechanical response of polymer networks