Real time optical correlator using a magnetooptic device applied to particle imaging velocimetry