A mathematical model for filtration and macromolecule transport across capillary walls