Neural Fields for Tomographic Imaging: with Applications in X-ray Computed Tomography and Synthetic Aperture Sonar