Complex resistivity of mineral rocks in the context of the generalized effective-medium theory of the IP effect