Julian Assange's detention illegal, says UN panel