Temperature-dependent Hall and photoluminescence evidence for conduction-band edge shift induced by alloying ZnO with magnesium