Critical couplings of mixed spin-1/2-spin-S Ising model: a free-fermion approximation