Optimizing the accuracy of transvaginal ultrasonography of the endometrium.