How does the cell membrane restrict the exchange of substances?