Sparsity-Aware Wireless Networks: Localization and Sensor Selection