A measure-theoretical approach to the nuclear and inductive spectral theorems