Flexible Attenuation Fields: Tomographic Reconstruction From Heterogeneous Datasets