Scaling properties of the conductivity spectra of glasses and supercooled melts