Measurement of the ratio of branching fractions B(D0→K+π-)/ B(D0→K-π+) using the CDF II detector