Optimum time-integrating acousto-optic correlator for binary codes