Polyoxometalate-based complexes with a flexible bis-imidazole-bis-amide ligand: structures, electrochemical and photocatalytic properties