Fields of definition of abelian varieties with real multiplication