Mary Schapiro leaving SEC after helping oversee US response to 2008 financial crisis.