Magnetic susceptibility of one-dimensional metallic chains in solution