STIM1 triggers a gating rearrangement at the extracellular mouth of the ORAI1 channel