Ecological specialization in populations adapted to constant versus heterogeneous environments*. (3rd April 2019)