explain each of the two conventional ways of allocating joint costs of products?