4-bit bidirectional universal shift register