The UN has reimposed sanctions on Iran, a decade after they were lifted as part of the nuclear agreement called the JCPOA.