The UN has reimposed sanctions on Iran over its nuclear program, accusing it of violating a deal reached in 2015.