Constraints on relative earthquake locations from cross-correlation of waveforms