Phase properties of one- and two-photon Jaynes - Cummings? models with a Kerr medium