Beta transition and stress-induced phase separation in the spinning of spider dragline silk.