Galois theory for Hopf algebroids