Structure Pretraining and Prompt Tuning for Knowledge Graph Transfer