average wood fence cost per foot