Search for physics beyond the standard model in dilepton mass spectra in proton-proton collisions at root s=8 TeV