Luminescence and electrical properties of single ZnO/MgO core/shell nanowires