Topological charge algebra of optical vortices in nonlinear interactions.