Defect based violet–blue emission of Mg doped ZnO annealed at different temperatures