Branch migration enzyme as a Brownian ratchet