Noncommutative compactifications of type I strings on tori with magnetic background flux