Halogen Bonding from Dispersion-Corrected Density-Functional Theory: The Role of Delocalization Error.