Geometry and electronic structure of binuclear metal carbonyl cations, [M2(CO)2]2+ and [M2(CO)6]2+ (M=Ni, Pd, Pt)