Search for supersymmetry with razor variables in pp collisions at s =7TeV