Tailoring the photoluminescence of MgO nanowires using the Ag shell layers and nanoparticles