Simulation and density functional study of a simple membrane. II. Solvent effects using the solvent primitive model