Tehran open to talks if US shows goodwill - Former Iranian official