A Baloch separatist group has claimed responsibility for an attack on a train carrying soldiers in Quetta, Pakistan.