Islamist militants have released a video, purporting to show some of the Nigerian schoolgirls whose abduction has prompted an international outcry.