Influence of the growth direction on properties of ferroelectric ultrathin films