Electronic, resonance Raman and force constant studies of mixed-valence linear-chain complexes of platinum and palladium