Samsung sees record third quarter profit on chip demand