Optimization study of scintillator shape of electromagnetic calorimeter for Higgs factories