Preference Optimization for Molecular Language Models