Mackey topology on locally convex spaces and on locally quasi-convex groups. Similarities and historical remarks