Throughput and Delay Scaling of Content-Centric Ad Hoc and Heterogeneous Wireless Networks