Saudi king upends royal succession, names son as first heir