Maximizing diversity in coded slow frequency-hopped communications