Goos–Hänchen effect for optical vibrational modes in a semiconductor structure