Generalized mutual information of quantum critical chains