A performance and complexity optimization of joint code and frame synchronization for DVB-S2/RCS mobile