Hardware-efficient data compression in wireless intracortical brain-machine interfaces