Duality Theory and Applied Production Economics Research: A Pedagogical Treatise