Syntheses, structures, luminescent and photocatalytic properties of various polymers based on a “V”-shaped dicarboxylic acid