Ellipsometer for measuring film thickness