A mathematical model for the temporal pattern of a population structure, with particular reference to the flour beetle: II. Competition between species