What is the purpose of the cell wall in plants?