Percolation thresholds in Ising magnets and conducting mixtures