Synthesis and characterization of well-aligned Zn1-xMgxO nanorods and film by metal organic chemical vapor deposition