Theory of satellite ground-track crossovers