A stochastic model for circadian rhythms from coupled ultradian oscillators