Application of nanofiltration for acidic waters containing rare earth elements: Influence of transition elements, acidity and membrane stability