Search for long-lived particles in events with photons and missing energy in proton-proton collisions at root s=7 TeV