Comparison of halogen bonding and van der Waals and pi-pi interactions in 4,5-dibromo-2-hexyloxyphenol.