Multiplicative structures on homotopy spectral sequences I, II