Periodic Switching in a Recombinase-Based Molecular Circuit