Investigation of Optimum Mg Doping Content and Annealing Parameters of Cu2MgxZn1−xSnS4 Thin Films for Solar Cells