Magnetic ordering in cobalt chloride-triphenylphosphine (CoCl2.2P(C6H5)3) and cobalt bromide-triphenylphosphine (CoBr2.2P(C6H5)3)