What is the importance of cost accounting in a business?