Separation and recovery of neodymium and praseodymium from permanent magnet scrap through the hydrometallurgical route