A Novel Approach to Link the Structure and the Metabolic Rate of Biofilms.