At least 49 people have died of thirst in a remote part of the Sahara desert in northern Niger after the truck carrying them broke down, authorities say.