Mechanical, thermodynamic and electronic properties of wurtzite and zinc-blende GaN crystals