Sensing temperature via downshifting emissions of lanthanide-doped metal oxides and salts. A review