Search for narrow resonances in dilepton mass spectra in pp collisions at s=7TeV