Berry phase, hyperorbits, and the hofstadter spectrum