World powers, Iran clinch ’historic’ nuclear deal