Latch (electronics)#Basic bistable circuit