Influence of deposition conditions and film thickness on the 〈001〉 orientation of erbium films