LICO: Large Language Models for In-Context Molecular Optimization