The latest round of UN climate talks in Bangkok has ended with deep divisions over the shape of a new global treaty.