Duration of retained fetal membranes and subsequent fertility in dairy cows