divide-by-two circuit