Gunmen have killed at least 48 people in attacks on three villages in northwest Nigeria’s Zamfara state.