An Energy-Efficient Bit Allocation Scheme in Wireless Sensor Networks