Theoretical study of electronic structure, phase transition, elastic, and thermodynamic properties of ReN