The Hong Kong government has ordered all kindergartens and primary schools to be closed for two weeks amid a flu outbreak.