UN nuclear watchdog ends probe into Iran's weapons programme