Clinical and subclinical endometritis in dairy cattle