Fundamental Study of MgB2 Superconducting Coil for Storage Devices