Tuning the interactions between electron spins in fullerene-based triad systems