Functional basis of ecological divergence in sympatric stickleback