An efficient stabilized finite element scheme for simulating viscoelastic flows