South Korean chipmaker SK Hynix flags uncertain outlook after second-quarter profit triples