Identify two examples city states or empires in this time period whose prosperity was based on maritime trade rather than on traditional sources of wealth like agriculture or mining or manufacturing.