Substitution effect of YBa2Cu3O7−y by Sn