Effects of deposition conditions on the ferroelectric properties of (Al1−xScx)N thin films