Recovery of valuables from ores and tailings by bacterial leaching and related kinetic and thermodynamic aspects