Determination of fabric and strain ellipsoids from measured sectional ellipses — theory