Flooding in northern Nigeria has killed at least 30 people and devastated huge amounts of farmland.