Preparation and characterization of MgO nanorods