A planetary system and a highly eccentric brown dwarf around the giant stars HIP 67851 and HIP 97233