Langevin stabilization of molecular-dynamics simulations of polymers by means of quasisymplectic algorithms | Synapse