Spectroscopic studies on atoms and molecules: rare earth ions doped glasses and overtone spectra of phenol derivatives