How did Melbourne grow as major port for exporting the agricultural products?