Introducing a flexible and Y-shaped tricarboxylic acid linker into functional complex: photocatalytic dye degradation