S.Korea court declares Hanjin Shipping bankrupt