Rearrangement of a polar core provides a conserved mechanism for constitutive activation of class B G protein-coupled receptors