Construction and photocatalytic properties of two metal-mediated coordination polymers based on benzene-1,3,5-tricarboxylic acid and trans-1-(pyridin-3-yl)-2-(pyridin-4-yl)ethene.