A phenomenological model of the bioleaching of complex sulfide ores