Diagnosis and treatment of postpartum endometritis in cattle