Secondary compositions and the Adams spectral sequence