Polarization phase gate with a tripod atomic system