A sliding mode observer approach to chaos synchronization