Explaining f-divergence-based regularization via local curvature and sharpness-aware minimization