More than 280 Nigerian pupils abducted in the north-western town of Kuriga earlier this month have been released "unharmed", officials say.