Search for lepton flavour violating decays of heavy resonances and quantum black holes to an \(\mathrm {e}\mu \) pair in proton–proton collisions at \(\sqrt{s}=8~\text {TeV} \)