Synchronization of quasiperiodic oscillations to a periodic force studied with semiconductor lasers.