Single-photon nonlinear optics with Kerr-type nanostructured materials