Static magnetic order and anisotropy of the layered cobalt dioxides Bi1.6Pb0.4Sr2Co2OyBi1.6Pb0.4Sr2Co2Oy and Bi2Sr2Co2OyBi2Sr2Co2Oy