Improvements of phase-modulated ellipsometry