US, EU agree to give Iran relief from economic sanctions