Ellipsometric study of a thin transparent film overlaid on a transparent substrate having a surface layer