Ecological specialization is associated with genetic structure.