Characteristics and optical properties of MgO nanowires synthesized by solvothermal method