High-temperature experimental and theoretical study of magnetic interactions in diamond and pseudo-diamond frameworks built up from hexanuclear tantalum clusters.