Relative volume of Kolmogorov–Arnold–Moser tori and uniform distribution, stickiness and nonstickiness in Hamiltonian systems