Towards Efficient and Accurate Spiking Neural Networks via Adaptive Bit Allocation