Organisers of climate talks in Paris say a final draft text has been reached after nearly two weeks of intensive negotiations.