Darwinian Selection of Host and Bacteria Supports Emergence of Lamarckian-like Adaptation of the System as a Whole