Crossover from phonon- to photon-mediated charge transport observed in metal-cluster compounds