how does the cell membrane affect the contents of a cell