Optimal capital accumulation and durable goods production