Cavity-mediated interactions between the guided mode resonance and surface phonon polaritons in a hybrid photonic–phononic system