What is the primary purpose of a Customer Relationship Management (CRM) system in a customer service environment?