Multivariate majorization and rearrangement inequalities with some applications to probability and statistics