Optimization of electrically excited XeF(C→A) laser performance