Cohesion-driven mixing and segregation of dry granular media