Numerical model for tomographic image formation in transmission x-ray microscopy.