The UN sustainable development summit in Rio de Janeiro has formally opened with a warning from UN head Ban Ki-moon that progress on the issue is too slow.