How coordination of production and warehouse decisions affects the product flow between factories and warehouses for manufacturing firms