Iran warns it will end cooperation with IAEA if sanctions reinstated