Social factors in the rise and development of the Bengali middle class in the first half of the nineteeth century