Insight into the structural, thermal and ion transport properties of solid and liquid Mg3N2: a model potential and NPT molecular dynamics simulation