Consistent Quantification of Precipitate Shapes and Sizes in Two and Three Dimensions Using Central Moments