Task-specific Pre-training and Prompt Decomposition for Knowledge Graph Population with Language Models