Towards Graph Foundation Models: A Transferability Perspective