Major powers agree on Iran sanctions