Compositional and phase relations among rare earth element minerals