Electronic states of high-k oxides in gate stack structures