Enhancement of crystal anisotropy and ferroelectricity by decreasing thickness in (Al,Sc)N films