What are the functions of carbohydrates, peripheral proteins, and cholesterol in the cell membrane?