Taguchi loss function and cost of quality