Trophic interactions shape the spatial organization of medium-chain carboxylic acid producing granular biofilm communities