Relationship between microstructure and mechanical properties in spider silk fibers: identification of two regimes in the microstructural changes