Phase control of ellipsometric interferometer for nanometric positioning system