Rich countries have 'snubbed poor' at UN summit