Long range ferromagnetism in tunable cobalt(II) layered compounds up to 25 Å apart