Development of a novel ellipsometer based on a four-detector photopolarimeter