During the rule of the succeeding Hanoverian dynasty, power was gradually exercised more by parliament and the government. During whose rule was power transferred more to parliament?