Electromagnetic quantization in dispersive inhomogeneous nonlinear dielectrics.