Mechanistic features of selective oxidation and ammoxidation catalysis