Thickness and dielectric constant determination of thin dielectric layers