Limits on the production of the standard model Higgs boson in pp collisions at $\sqrt{s} = 7$ TeV with the ATLAS detector