Hydraulic resistance of biofilms