Batch synthesis of rare-earth nickelates electronic phase transition perovskites via rare-earth processing intermediates