Synthesis of ZnO/cubic (Zn, Mg)O heterostructure nanorods