Design of a polarization nulling interferometer for exoplanet detection