Tuning the photoluminescence, conduction mechanism and scattering mechanism of ZnSnN2