The effect of Sn for Ti substitution on the average and local crystal structure of BaTi1−xSnxO3 (0 ≤ x ≤ 0.20)