Search for high-mass resonances decaying into tau-lepton pairs in pp collisions at root s=7 TeV