IAEA says foreign expertise has brought Iran to threshold of nuclear capability