Heterogeneity in respiratory electron transfer and adaptive iron utilization in a bacterial biofilm