The Graph Cases of the Riemannian Positive Mass and Penrose Inequalities in All Dimensions