Longest UN climate talks end with no deal on carbon markets