Overnight US airstrikes hit three nuclear sites in Iran, in what US President Trump called a “spectacular military success”.