Percolation model for a selective response of the resistance of composite semiconducting np systems with respect to reducing gases