Describe the allocation of resources in a planned economy.