Optimized synchronization of chaotic and hyperchaotic systems.