In Ansible, what is the primary purpose of using handlers instead of regular tasks for service restarts?