Major powers give Iran until early October to accept nuclear deal