Rare earth elements could be pulled from coal waste