Search for the standard model Higgs boson produced in association with W and Z bosons in pp collisions at $\sqrt{s}=7$ TeV