Key talks end with rich and poor countries at loggerheads on the divisive issue of loss and damage.