Electrical and physical characterization of high-k dielectric layers