Valence transition of cerium during the synthesis of powders and densification of CeB6 polycrystalline