Parties optimistic on climate change deal in Paris