Efficient data compression for seismic-while-drilling applications