Microbial recovery of metals from solids