Classical phase changes in nonlinear processes and their quantum counterparts.