Formation of rod-like Mg(OH)2 nanocrystallites under hydrothermal conditions and the conversion to MgO nanorods by thermal dehydration