The Rio+20 summit ends with an agreement from world leaders that charities say represents a “missed chance” to tackle environmental problems.