Medical conditions, family history of cancer, and the risk of biliary tract cancers