Iran says its nuclear program is for peaceful purposes , but the United States accuses Tehran of trying secretly to develop nuclear weapons .