Micro-institutional Foundations of Capitalism