What is the chemical basis for the warning on household cleaners never to mix ammonia cleaners and bleach?

Ammonia cleaners and bleach may release chloramines, (NH2Cl or NH2Cl2), both toxic.