Effective ionization coefficient in mixtures of Ar and O2 determined using the Townsend discharge