Structural basis of activation and GTP hydrolysis in Rab proteins