Invariant States on Noncommutative Tori