Historical analysis of major financial crises and their lessons