South Korea coach resigns after World Cup exit