William III of England, Scotland and Ireland