Interspecific Competition, Environmental Gradients, Gene Flow, and the Coevolution of Species' Borders