Optimal programme of capital accumulation in a multi-sector economy