Gravar-mail: Measuring real-time synchronization in both spike trains and continuous time series