Formation of legislation on pension insurance in France, Great Britain, and Russia. A retrospective