Biophysical properties at patch scale shape the metabolism of biofilm landscapes