The permeability of biofouling layers on membranes