Magnetic susceptibility of insulators from first principles.