eoq formula in cost accounting