Magnetic and optical properties of low-spin cobalt(II) complexes