Diverse layered topology and magnetic subunits in cobalt cyclohexyldicarboxylate coordination polymers with 3-pyridylnicotinamide coligands