Photon correlations from ultrastrong optical nonlinearities