Concerns have been raised over the future of County Durham town centres as former shops are converted into mixed-use homes.