Evolution of Institutions and Ethical Doctrines