Magnetic mixed-valence d2-d1-d1 trimers with partial electron delocalization: vibronic coupling and magnetic properties