MolTailor: Tailoring Chemical Molecular Representation to Specific Tasks via Text Prompts