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