Lithium extraction and refining