A Unified Convergence Analysis for Shuffling-Type Gradient Methods