Talks continue through the night at the key UN climate summit in Peru, with major divisions between rich and poor nations hampering progress.