Homotopy theory of spectral sequences