After Chile withdraws from holding the global climate summit, Spain offers to host it in Madrid.