Iraq war was wrong, new Labour leader says