Coalescence of an emulsion in a fibrous bed: Part I. Theory