Isomeric separation in donor–acceptor systems of Pd(II) and Pt(II) and a combined structural, electrochemical and spectroelectrochemical study