Influence of structural properties on the ferroelectric behavior of hexagonal AlScN