The concept of duality in convex analysis