Concepts of input and output cost of dairy farming