Electrochemical lithium recovery with lithium iron phosphate: what causes performance degradation and how can we improve the stability?