Data‐driven optimal predictive control of seismic induced vibrations in frame structures