Changing Structure of Urban Empolyment and its Demographic Consequence--Edo and Osaka in the Bakumatsu-Restoration Period--