Complex high-temperature phase transitions in Li2B12H12 and Na2B12H12