Iranian President Hassan Rouhani has accused the United States of trying to undermine Tehran's nuclear deal with world powers.