A foundation model for generalizable cancer diagnosis and survival prediction from histopathological images | Synapse