Inferring statistical properties of 3D cell geometry from 2D slices