A model for the structure and mechanism of action of pulmonary surfactant protein B