High-precision FPGA-TDC for picosecond-level time measurement: Bubble error correction based on rearrangement encoding