Fast algorithms for Walsh transform in bit-reversed sequency order