Theory of tensor aperture synthesis