Design optimization of superconducting magnetic energy storage coil