Polarization phase gate and three-photon GHZ state using coherently enhanced Kerr nonlinearity