Search for the standard model Higgs boson produced in association with a W or a Z boson and decaying to bottom quarks