Generation and stabilization of Bell states via repeated projective measurements on a driven ancilla qubit