Foreign buyers spent more than $6bn on Australian property in 2021