UN: Military attacks on Darfur violated international law