Iran's top diplomat, Hamas head discuss US plan