Calculate the oxidation number of Cr in \(\mathrm{CrO}_4^{2-}\) ion and \(\mathrm{K}_2 \mathrm{Cr}_2 \mathrm{O}_7\) respectively.