Interfirm responses to heterogeneity of demand over time