Sensing physical fields: Inverse problems for the diffusion equation and beyond