Ellipsometry of Layered Systems