Mechanistic investigations of the catalytic formation of lactams from amines and water with liberation of H2.