Cellular structure in a natural convection loop and its chaotic behaviour: II. Theory