Evolutionary action and structural basis of the allosteric switch controlling β2AR functional selectivity