Family history of cancer and the risk of endometrial cancer