Orbital stability for periodic standing waves of the Klein–Gordon–Zakharov system and the beam equation