Generation of circadian rhythm by coupled ultradian oscillators