Pharmacist: Safety Alignment Data Curation for Large Language Models against Harmful Fine-tuning