Arithmetic structures on noncommutative tori with real multiplication