Method for computing the three-dimensional capacity dimension from two-dimensional projections of fractal aggregates