Production of lanthanide molecular ion beams by fluorination technique