First-principles study of structural, elastic, and electronic properties of CeB6 under pressure