An embedding technique to determine ττ backgrounds in proton-proton collision data