Temperature-dependent Brillouin light scattering spectra of magnons in yttrium iron garnet and permalloy