William Hague condemns North Korea nuclear test