Distributed compression and transmission with energy harvesting sensors