The generalized Gibbs ensemble for Heisenberg spin chains