Fabrication and transport properties of MgB2 wire and coil