Nuclear talks were cover for planned attack, Iranian official says