Relationship between bioleaching performance, bacterial community structure and mineralogy in the bioleaching of a copper concentrate in stirred-tank reactors