Shared heritability and functional enrichment across six solid cancers