Police in Afghanistan have rescued dozens of boys who say they were being sent to Pakistan to train as suicide bombers.