The design of intracellular oscillators that interact with metabolism