Lebesgue's theory of integration: Its origins and development