The breakup of viscoelastic jets and filaments: the beads-on-a-string structure