Two diverse temperature-directed cobalt-based coordination polymers: environmentally friendly photocatalysts for degradation of organic dyes