Localization and fractal spectra of optical phonon modes in quasiperiodic structures