NIR-Prompt: A Multi-task Generalized Neural Information Retrieval Training Framework