Magnetism in the complex cobaltates Y1−xSrxCoO3−δ (0.7 ≤ x ≤ 0.95) and Ca3Co2O6