A receding horizon control approach to synchronization for chaotic systems