Studies on the replacement policies in dairy cattle. III. Influence of variation in reproduction and production