Text this: Recovering time-dependent diffusion coefficients in a nonautonomous parabolic equation from energy measurements