Autoproteolysis coupled to protein folding in the SEA domain of the membrane-bound MUC1 mucin