More than 300 schoolboys kidnapped in an attack on their school in northwestern Nigeria have arrived in the capital of Katsina state in celebration of their release.