Energy transfer in pure and Ce-doped LiCaAlF6 and LiSrAlF6 crystals