Ferromagnetism in triangular cobalt(II) layers: comparison of cobalt dihydroxide and cobalt nitrate hydroxide (Co2(NO3)(OH)3)