What is the primary purpose of a grit chamber in the preliminary treatment phase of a wastewater treatment plant?