Search for new physics in events with photons, jets, and missing transverse energy in pp collisions at √s =7 TeV