Infrared spectroscopic study of hydrogen bonding topologies in the water octamer: The smallest ice cube